home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000182_andreas@mpa-garching.mpg.de_Thu Jan 27 17:41:00 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  3KB

  1. Received: from ibm-1.mpa-garching.mpg.de by cs.umb.edu with SMTP id AA23026
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Thu, 27 Jan 1994 11:01:55 -0500
  3. Received: from localhost (andreas@localhost) by ibm-1.MPA-Garching.MPG.DE (8.6.4/8.6) id QAA59878; Thu, 27 Jan 1994 16:41:00 +0100
  4. Date: Thu, 27 Jan 1994 16:41:00 +0100
  5. From: Andreas Schott <andreas@mpa-garching.mpg.de>
  6. Message-Id: <199401271541.QAA59878@ibm-1.MPA-Garching.MPG.DE>
  7. To: tex-k@cs.umb.edu
  8. Subject: More Bugs in other Makefile.in
  9. Reply-To: andreas@mpa-garching.mpg.de (Andreas Schott)
  10.  
  11. My last mail did not contain all bugs I found. Almost all the
  12. Makefiles in the subdirectories of web2c contain references
  13. to ../$(srcdir)/, which is complete nonsense. It is working
  14. with srcdir='.', but the correct way is to substitute it
  15. with $(srcdir)/../ .
  16.  
  17. The following shell-script started at the top-level of
  18. the web2c-6.0 directory should do the corrections:
  19.  
  20. ----------------------------------------------------------------
  21. #!/bin/sh
  22. cd web2c
  23. for k in bibtex dviutil fontutil mf tex web web2c
  24. do 
  25.   mv $k/Makefile.in $k/Makefile.in.orig
  26.   sed 's|\.\./$(srcdir)|$(srcdir)/..|g' $k/Makefile.in.orig > $k/Makefile.in
  27. done
  28. ----------------------------------------------------------------
  29.  
  30. Furthermore the patch for the web2c/Makefile.in is a bigger than
  31. that for the other packages, because it uses a *.h and *.c in
  32. the dependency-line together with $(kpathsea_dir) instead of
  33. $(kpathsea_srcdir). 
  34.  
  35. Here the patch for web2c/Makefile.in:
  36.  
  37. ----------------------------------------------------------------
  38. *** Makefile.in.orig    Mon Jan 24 13:39:09 1994
  39. --- Makefile.in Thu Jan 27 16:30:55 1994
  40. ***************
  41. *** 90,96 ****
  42.   
  43.   # Do not override CPPFLAGS; change CFLAGS or DEFS instead.
  44.   CPPFLAGS = $(XCPPFLAGS) -I. -I$(srcdir) -I$(kpathsea_parent) \
  45. !            $(x_include_flags) $(DEFS) 
  46.   .c.o:
  47.         $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
  48.   
  49. --- 90,96 ----
  50.   
  51.   # Do not override CPPFLAGS; change CFLAGS or DEFS instead.
  52.   CPPFLAGS = $(XCPPFLAGS) -I. -I$(srcdir) -I$(kpathsea_parent) \
  53. !            -I$(kpathsea_srcdir_parent) $(x_include_flags) $(DEFS) 
  54.   .c.o:
  55.         $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
  56.   
  57. ***************
  58. *** 237,243 ****
  59.         cd web2c; $(MAKE) $(web2cmakeargs) all
  60.   .PHONY: do-web2c
  61.   
  62. ! do-kpathsea: $(kpathsea_dir)/*.c $(kpathsea_dir)/*.h
  63.         cd $(kpathsea_dir); $(MAKE) $(makeargs)
  64.   .PHONY: do-kpathsea
  65.   
  66. --- 237,243 ----
  67.         cd web2c; $(MAKE) $(web2cmakeargs) all
  68.   .PHONY: do-web2c
  69.   
  70. ! do-kpathsea: $(kpathsea_srcdir)/*.c $(kpathsea_srcdir)/*.h
  71.         cd $(kpathsea_dir); $(MAKE) $(makeargs)
  72.   .PHONY: do-kpathsea
  73.   
  74. ----------------------------------------------------------------
  75.  
  76. Andreas Schott.